f07cd8e3a03e3d08d9069dc755960139dc07048e,src/de/htwdd/WidgetTimetableService.java,WidgetTimetableService,onStartCommand,#Intent#number#number#,33
Before Change
for (int appWidgetId : appWidgetIds) {
Log.i("Service", "update "+appWidgetId);
updateAppWidget(getApplicationContext(), appWidgetManager, appWidgetId);
}
return super.onStartCommand(intent, flags, startId);
After Change
@Override
public int onStartCommand(Intent intent, int flags, int startId)
{
int appWidgetId = intent.getExtras().getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(getApplicationContext());
Log.i("Service", "onStartCommand: update "+appWidgetId);
updateAppWidget(getApplicationContext(), appWidgetManager, appWidgetId);
return super.onStartCommand(intent, flags, startId);
}